ISnapshotStorage
StockSharp.Algo.Storages
The interface for access to the storage of snapshot prices.
Implements: ISnapshotStorage
Methods
Clear
public void Clear(TKey key)
iSnapshotStorage.Clear(key)
Remove snapshot for the specified key.
- key
- Key.
Get
public TMessage Get(TKey key)
result = iSnapshotStorage.Get(key)
Get snapshot for the specified key.
- key
- Key.
Returns: Snapshot.
GetAll
public IEnumerable<TMessage> GetAll(DateTime? from, DateTime? to)
result = iSnapshotStorage.GetAll(from, to)
Get all snapshots.
- from
- Start date, from which data needs to be retrieved.
- to
- End date, until which data needs to be retrieved.
Returns: All snapshots.